package org.spring.springboot.app.hard.hardinfo.service;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.base.R;
import org.spring.springboot.app.hard.hardinfo.domain.po.HardInfoPO;
import org.spring.springboot.app.hard.hardinfo.domain.vo.*;

import java.util.List;

/**
 * 逻辑接口类
 * <p>
 * Created by bysocket on 07/02/2017.
 */
public interface IHardInfoService {


    HardInfoPO find(String id);

    List<HardInfoPO> findAll(String officeId, String types);

    int save(HardInfoPO record);

    int update(HardInfoPO record);

    int delete(String id);

    int deletes(String ids);

    List<SyshardinfoVO> findPage(SyshardinfoSearchVO searchvo, int pageNum, int pageSize);

    SyshardinfoVO findSigle(String id);

    R saveInfo(SyshardinfosaveVO syshardinfosaveVO);

    R updateInfo(SyshardinfoUpdateVO syshardinfoUpdateVO);

    List<SyshardinfoVO> findPageAgent(SyshardinfoSearchVO searchvo, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize, String officeId);
}
